import request from '@/utils/request'

// 查询WS群发详情列表
export function listChatWsMassDetail(query) {
  return request({
    url: '/business/chatWsMassDetail/list',
    method: 'get',
    params: query
  })
}

// 查询WS群发详情详细
export function getChatWsMassDetail(id) {
  return request({
    url: '/business/chatWsMassDetail/' + id,
    method: 'get'
  })
}

// 新增WS群发详情
export function addChatWsMassDetail(data) {
  return request({
    url: '/business/chatWsMassDetail',
    method: 'post',
    data: data
  })
}

// 修改WS群发详情
export function updateChatWsMassDetail(data) {
  return request({
    url: '/business/chatWsMassDetail',
    method: 'put',
    data: data
  })
}

// 删除WS群发详情
export function delChatWsMassDetail(id) {
  return request({
    url: '/business/chatWsMassDetail/' + id,
    method: 'delete'
  })
}
